//
//  DYAddContentTextCell.h
//  DaYing
//
//  Created by DaYing Team on 2023.
//  Copyright © 2023 DaYing Team. All rights reserved.
//

#import "BaseTableViewCell.h"

@class DYAddContentTextCell;
@class DYAddContentTextCellModel;

@protocol DYAddContentTextCellDelegate <NSObject>

- (void)addContentTextCell:(DYAddContentTextCell *)cell textView:(UITextView *)textView;

@end

@interface DYAddContentTextCell : BaseTableViewCell

@property (nonatomic,weak) id<DYAddContentTextCellDelegate> delegate;
@property (weak, nonatomic) IBOutlet UIView *myView;
@property (weak, nonatomic) IBOutlet UILabel *placeholderLabel;//提示
@property (weak, nonatomic) IBOutlet UITextView *textView;//输入框
@property (strong, nonatomic) DYAddContentTextCellModel *model;

+ (id)instanceView;

@end



#pragma mark - Model

@interface DYAddContentTextCellModel : NSObject

@property (nonatomic,copy) NSString *title;
@property (nonatomic,copy) NSString *content;
@property (nonatomic,copy) NSString *tip;
@property (nonatomic,copy) NSString *max;

+ (DYAddContentTextCellModel *)ittemModelWithTitle:(NSString *)title content:(NSString *)content tip:(NSString *)tip max:(NSString *)max;

@end
